package com.dk.api;

import com.dk.pojo.Warehouse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("mes-warehouse")
public interface WarehouseServiceAPI {
    @GetMapping("/warehouse/selectByWarehouseName")
    public Warehouse selectByWarehouseName(@RequestParam String warehouseName);
}
